package com.flash.SystemManagement.entity;

public class UserRole {
    //角色id
    private int userRoleId;
    //角色名称
    private String userRoleName;
    //角色描述0..
    private String userPoleDesc;
    //是否在用
    private int userRoleFlag;

    public UserRole() {
    }

    public UserRole(int userRoleId, String userRoleName, String userPoleDesc, int userRoleFlag) {
        this.userRoleId = userRoleId;
        this.userRoleName = userRoleName;
        this.userPoleDesc = userPoleDesc;
        this.userRoleFlag = userRoleFlag;
    }

    @Override
    public String toString() {
        return "UserRole{" +
                "userRoleId=" + userRoleId +
                ", userRoleName='" + userRoleName + '\'' +
                ", userPoleDesc='" + userPoleDesc + '\'' +
                ", userRoleFlag=" + userRoleFlag +
                '}';
    }

    public int getUserRoleId() {
        return userRoleId;
    }

    public void setUserRoleId(int userRoleId) {
        this.userRoleId = userRoleId;
    }

    public String getUserRoleName() {
        return userRoleName;
    }

    public void setUserRoleName(String userRoleName) {
        this.userRoleName = userRoleName;
    }

    public String getUserPoleDesc() {
        return userPoleDesc;
    }

    public void setUserPoleDesc(String userPoleDesc) {
        this.userPoleDesc = userPoleDesc;
    }

    public int getUserRoleFlag() {
        return userRoleFlag;
    }

    public void setUserRoleFlag(int userRoleFlag) {
        this.userRoleFlag = userRoleFlag;
    }
}
